package com.hyt.it.ogt.kq.service.gov.model.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.hyt.core.ModelSerializable;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @author liuq
 * @ClassName: Tree
 * @Description: 树
 * @date 2018年6月6日
 */
@Data
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true) 
public class Tree implements ModelSerializable {

    @ApiModelProperty(value = "主键ID")
    private String id;

    @ApiModelProperty(value = "父ID")
    private String pid;

    @ApiModelProperty(value = "名称")
    private String text;

    private Object obj;
    
    @ApiModelProperty(value = "子类")
    private List<Tree> children;

}
